package com.hospital.doctor.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BingLi {
    //病人表
    private int pId;
    private String pName;
    private int pGender;
    private int pAge;
    private String pIdcard;
    private String pStatus;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm")
    private Date inTime;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm")
    private Date outTime;
    private int kId;
    private int pBednumber;
    private int dId;
    private String pDiagnosis;
    //部门
    private Department department;
    //医生
    private Doctor doctor;
    //检查
    private List<CheckBody> checkBody = new ArrayList<>();
    //记录
    private List<Round> round = new ArrayList<>();
    //医嘱
    private List<Medical> medical = new ArrayList<>();
    //处方
    private List<Prescription> prescription = new ArrayList<>();
    //手术
    private List<Operation> operation = new ArrayList<>();



}
